package jUnitTest;

import org.junit.Test;

public class TestMath {

	@Test
	public void test() {
		int b = (int)(Math.random()*54)+1;
		System.out.println(b);
	}
	

	public static int test1(int m,int n) {
		int x=0;
		int tmp;
		if(m>n){
			tmp=m;m=n;n=tmp;
		}
		x=(int)((n-m+1)*Math.random())+m;
		return x;
	}
	
	@Test
	public void test3() {
		for(int i = 0;i<100;i++){
			System.out.println(test1(1, 3));
		}
	}
	

}
